package com.sun.mapper;

import com.sun.entity.Squad;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author SunRui
 * @since 2024-12-11
 */
public interface SquadMapper extends BaseMapper<Squad> {
    // 成员数量 + 1
    int addMember(int id);

    // 成员数量 - 1
    int deleteMember(int id);
}
